class CreateRePurchaseOverviews < ActiveRecord::Migration[5.0]
  def change
    create_table :re_purchase_overviews do |t|
      t.string :report_date, comment: '报表日期'
      t.string :company, comment: '集团'
      t.integer :purchaser, comment: '购买人数'
      t.integer :month_1, comment: '第二月复购人数'
      t.integer :month_2, comment: '第三月复购人数'
      t.integer :month_3, comment: '第四月复购人数'
      t.integer :month_4, comment: '第五月复购人数'
      t.integer :month_5, comment: '第六月复购人数'
      t.timestamps
    end
  end
end
